#ifndef MEDICALRECORD_H
#define MEDICALRECORD_H

#include <QString>
#include <QDate>

class MedicalRecord {
private:
    int recordID;
    int patientID;
    int doctorID;
    QString diagnosis;
    QString treatment;
    QDate date;

public:
    MedicalRecord() = default;
    MedicalRecord(int id, int pID, int dID, const QString& diag, const QString& treat, const QDate& d);
    int getRecordID() const;
    void setRecordID(int id);
    int getPatientID() const;
    void setPatientID(int id);
    int getDoctorID() const;
    void setDoctorID(int id);
    QString getDiagnosis() const;
    void setDiagnosis(const QString& diag);
    QString getTreatment() const;
    void setTreatment(const QString& treat);
    QDate getDate() const;
    void setDate(const QDate& d);
};

#endif // MEDICALRECORD_H
